# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-ruamel.yaml.clib
_pyname=ruamel.yaml.clib
pkgver=0.2.8
pkgrel=1
pkgdesc="C version of reader, parser and emitter for ruamel.yaml"
url="https://sourceforge.net/projects/ruamel-yaml-clib/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev"
options="!check" # tests aren't on PyPI, Sourceforge downloads disappeared
source="https://files.pythonhosted.org/packages/source/r/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	export RUAMEL_NO_PIP_INSTALL_CHECK=1
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
1984d1f46f9d98c178315d1aad27d02fe3a228fbe4a2f4e68729b850c1ebe08ff0ef2fab38841296a2ac0a1f8a0bf7231ab8d7972a9a39a260ea773457f1393b  ruamel.yaml.clib-0.2.8.tar.gz
"
